﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using Dtos;

namespace IBLL
{
    public interface IPositionsBll
    {
        Task<int> AddAsync(string title);
        Task<int> EditAsync(Guid id, string title, Guid departimentId);
        Task<int> DeleteAsync(Guid id);
        Task<List<PositionsDost>> getAllPositions();
        Task<PositionsDost> GetPositionsIdAsync(Guid id);
        Task<bool> IsExistsAsync(string title);
    }
}
